/****************************************************************************
** Meta object code from reading C++ file 'autoupdate.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../autoupdate.h"
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif


#include <memory>

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'autoupdate.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.5.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSAutoUpdateENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSAutoUpdateENDCLASS = QtMocHelpers::stringData(
    "AutoUpdate",
    "replyFinished",
    "",
    "QNetworkReply*",
    "reply",
    "slotError",
    "slotSslErrors",
    "QList<QSslError>",
    "onDownloadProgress",
    "bytesReceived",
    "bytesTotal",
    "ReplyHttpFinished",
    "ReplyError",
    "ReplyNewDataArrived",
    "on_btnCancel_clicked",
    "on_btnUpdate_clicked"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSAutoUpdateENDCLASS_t {
    uint offsetsAndSizes[32];
    char stringdata0[11];
    char stringdata1[14];
    char stringdata2[1];
    char stringdata3[15];
    char stringdata4[6];
    char stringdata5[10];
    char stringdata6[14];
    char stringdata7[17];
    char stringdata8[19];
    char stringdata9[14];
    char stringdata10[11];
    char stringdata11[18];
    char stringdata12[11];
    char stringdata13[20];
    char stringdata14[21];
    char stringdata15[21];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSAutoUpdateENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSAutoUpdateENDCLASS_t qt_meta_stringdata_CLASSAutoUpdateENDCLASS = {
    {
        QT_MOC_LITERAL(0, 10),  // "AutoUpdate"
        QT_MOC_LITERAL(11, 13),  // "replyFinished"
        QT_MOC_LITERAL(25, 0),  // ""
        QT_MOC_LITERAL(26, 14),  // "QNetworkReply*"
        QT_MOC_LITERAL(41, 5),  // "reply"
        QT_MOC_LITERAL(47, 9),  // "slotError"
        QT_MOC_LITERAL(57, 13),  // "slotSslErrors"
        QT_MOC_LITERAL(71, 16),  // "QList<QSslError>"
        QT_MOC_LITERAL(88, 18),  // "onDownloadProgress"
        QT_MOC_LITERAL(107, 13),  // "bytesReceived"
        QT_MOC_LITERAL(121, 10),  // "bytesTotal"
        QT_MOC_LITERAL(132, 17),  // "ReplyHttpFinished"
        QT_MOC_LITERAL(150, 10),  // "ReplyError"
        QT_MOC_LITERAL(161, 19),  // "ReplyNewDataArrived"
        QT_MOC_LITERAL(181, 20),  // "on_btnCancel_clicked"
        QT_MOC_LITERAL(202, 20)   // "on_btnUpdate_clicked"
    },
    "AutoUpdate",
    "replyFinished",
    "",
    "QNetworkReply*",
    "reply",
    "slotError",
    "slotSslErrors",
    "QList<QSslError>",
    "onDownloadProgress",
    "bytesReceived",
    "bytesTotal",
    "ReplyHttpFinished",
    "ReplyError",
    "ReplyNewDataArrived",
    "on_btnCancel_clicked",
    "on_btnUpdate_clicked"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSAutoUpdateENDCLASS[] = {

 // content:
      11,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,   68,    2, 0x08,    1 /* Private */,
       5,    0,   71,    2, 0x08,    3 /* Private */,
       6,    1,   72,    2, 0x08,    4 /* Private */,
       8,    2,   75,    2, 0x08,    6 /* Private */,
      11,    0,   80,    2, 0x08,    9 /* Private */,
      12,    0,   81,    2, 0x08,   10 /* Private */,
      13,    0,   82,    2, 0x08,   11 /* Private */,
      14,    0,   83,    2, 0x08,   12 /* Private */,
      15,    0,   84,    2, 0x08,   13 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong,    9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

Q_CONSTINIT const QMetaObject AutoUpdate::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_CLASSAutoUpdateENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSAutoUpdateENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSAutoUpdateENDCLASS_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<AutoUpdate, std::true_type>,
        // method 'replyFinished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QNetworkReply *, std::false_type>,
        // method 'slotError'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'slotSslErrors'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QList<QSslError>, std::false_type>,
        // method 'onDownloadProgress'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<qint64, std::false_type>,
        QtPrivate::TypeAndForceComplete<qint64, std::false_type>,
        // method 'ReplyHttpFinished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'ReplyError'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'ReplyNewDataArrived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btnCancel_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btnUpdate_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

void AutoUpdate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AutoUpdate *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->replyFinished((*reinterpret_cast< std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 1: _t->slotError(); break;
        case 2: _t->slotSslErrors((*reinterpret_cast< std::add_pointer_t<QList<QSslError>>>(_a[1]))); break;
        case 3: _t->onDownloadProgress((*reinterpret_cast< std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<qint64>>(_a[2]))); break;
        case 4: _t->ReplyHttpFinished(); break;
        case 5: _t->ReplyError(); break;
        case 6: _t->ReplyNewDataArrived(); break;
        case 7: _t->on_btnCancel_clicked(); break;
        case 8: _t->on_btnUpdate_clicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<QSslError> >(); break;
            }
            break;
        }
    }
}

const QMetaObject *AutoUpdate::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *AutoUpdate::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLASSAutoUpdateENDCLASS.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

int AutoUpdate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
